package pl.com.sjap.agenci;

public class TaxiPassenger extends Person {
	private boolean isLazy; //jest na tyle leniwy ze taksowke pod dom wzywa
	private double maxKmCost; //jesli dostepna taksowka jest za droga to wzywa tansza i traci czas.
	private double  walkingSpeed; //moze czasem chodzic pieszo 

	public double getWalkingSpeed() {
		return walkingSpeed;
	}
	public void setWalkingSpeed(double walkingSpeed) {
		this.walkingSpeed = walkingSpeed;
	}
	public TaxiPassenger(String name, String surname, int xposition,
			int yposition, boolean isLazy, double maxKmCost, double walkingSpeed) {
		super(name, surname, xposition, yposition);
		this.isLazy = isLazy;
		this.maxKmCost = maxKmCost;
		this.walkingSpeed = walkingSpeed;
	}
	public boolean isLazy() {
		return isLazy;
	}
	public void setLazy(boolean isLazy) {
		this.isLazy = isLazy;
	}
	public double getMaxKmCost() {
		return maxKmCost;
	}
	public void setMaxKmCost(double maxKmCost) {
		this.maxKmCost = maxKmCost;
	}
	
	

	

}
